package com.manner.groupon.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 团购套餐表
 * @TableName tb_group_purchase_package
 */
@TableName(value ="tb_group_purchase_package")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GroupPurchasePackage extends Object implements Serializable {
    /**
     * 主键自增，数据唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 外键团购券编号
     */
    @TableField(value = "gcid")
    private Long gcid;

    /**
     * 团购详情套餐项标题
     */
    @TableField(value = "gp_title")
    private String gpTitle;

    /**
     * 团购详情套餐项内容
     */
    @TableField(value = "gp_content")
    private String gpContent;

    /**
     * 是否失效（0：失效，1：生效）
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}